//载入那些函数库
let includes = ([
    "include/common.js",
]);

//继承哪些JS 在所有代码之前要完成继承
let inherits = ([
    "inherit/data.js",
    "inherit/room.js"
]);


//被创建的时候触发
function create() {
    let me = thisObject();
    me.set("name", "成都");
    me.set("desc", "成都的风景真不错！");
    //是否是玩家
    me.set("obType", "isRoom");
    me.set("heartbeat", 1);
    me.set("exits", {
        west: __DIR__ + "west.js",
        est: __DIR__ + "east.js"
    });
    return me;
}


function heartbeat() {

    return {};
}

